package com.lagou.annocation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Service {
    /**
     * id 属性
     * @return
     */
    String value() default "";

    /**
     * 组件的别名
     * @return
     */
    String[] names() default {};
}
